import React from 'react';
import { Spin } from 'antd';
import './loading.css';

class Loading extends React.Component {
    render() {
        return (
            <div className="loading">
                <Spin className="loading-state" spinning={this.props.loading} size="large" />
            </div>
        )
    }
}

export default Loading;